package gbportal.articles.domain.objects;

import com.google.common.collect.Lists;

import java.util.List;

/**
 * @author Nikita.Brazhnikov
 */
public class DefaultContent implements Content{
	private String id;
	private String articleId;
	private List<Element> elements;

	public DefaultContent() {
		elements = Lists.newLinkedList();
	}

	@Override
	public String getId() {
		return id;
	}

	@Override
	public String getOwnerObjectId() {
		return articleId;
	}

	@Override
	public List<Element> getElements() {
		return elements;
	}
}
